package com.wnxy.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class JSharingManagementDto {

    @ApiModelProperty("共享管理表")
    private Long id;

    @ApiModelProperty("共享时间段")
    private String sharedTimePeriod;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("设置时间")
    private LocalDateTime setTime;

    @ApiModelProperty("状态1:已共享2:未共享")
    private Integer sharedTimeState;

    @ApiModelProperty("描述")
    private String sharedTimeDetail;

    @ApiModelProperty("充电桩表 外键")
    private Long chargingPileId;

    @ApiModelProperty("计费规则表 外键")
    private Long billingRuleId;

    @ApiModelProperty("充电桩编号")
    private String chargingPileNumber;

    @ApiModelProperty("充电桩名称")
    private String chargingPileName;

    @ApiModelProperty("充电站位置")
    private String chargingStationPlace;

    @ApiModelProperty("充电站名称")
    private String chargingStationName;

    @ApiModelProperty("计费规则名称")
    private String chargingName;
}
